package dao;

import java.util.List;

import metier.Candidature;
import metier.Etudiant;
import metier.Stage;

public interface DAOCandidature 
{
	public abstract Candidature get(int pIdStage, int pIdEtudiant);
	
	public abstract void save(Candidature pCandidature);
	public abstract void saveOrUpdate(Candidature pCandidature);
	
	public abstract void remove(Candidature pCandidature);
	
	public abstract List<Candidature> load(Etudiant pEtudiant, Stage pStage);
	
	public abstract boolean etudiantAValide(Etudiant pEtudiant);
	public abstract boolean stageEstValide(Stage pStage);
	
	public abstract void valideStage(Etudiant pEtudiant, Stage pStage);
}